package com.jf.blog_jf04.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jf.blog_jf04.bean.Userinfo;
import com.jf.blog_jf04.data.PageInfo;
import com.jf.blog_jf04.data.ov.*;
import com.jf.blog_jf04.utils.R;

import java.util.List;

/**
 * @author pang6
 * @description 针对表【userinfo(用户表)】的数据库操作Service
 * @createDate 2025-10-18 14:32:11
 */
public interface UserinfoService extends IService<Userinfo> {
    R login(LoginOV form);

    void saveOrUpdate(UserinfoUpdateOV form);

    void delete(List<Integer> ids);

    R getPage(PageInfo pageInfo, UserinfoSearchOV form);

    void updateStatus(int userinfoId);

    void updatePassword(UserinfoPasswordOV form);

    void register(RegisterOV form);

    void forget(ForgetOV form);

    void auth(AuthOV form);

    void exam(ExamOV form);

    /*******前端service方法*******/
    R getVipInfo();

    R getSelect();
}
